package com.proxy.daijia.driver.service;

import com.proxy.daijia.model.form.driver.DriverFaceModelForm;
import com.proxy.daijia.model.form.driver.UpdateDriverAuthInfoForm;

public interface DriverService {


    //小程序授权登录
    String login(String code);

    //更新司机认证信息
    Boolean updateDriverAuthInfo(UpdateDriverAuthInfoForm updateDriverAuthInfoForm);

    //创建司机人脸模型
    Boolean creatDriverFaceModel(DriverFaceModelForm driverFaceModelForm);

    //开始接单服务
    Boolean startService(Long driverId);

    //停止接单服务
    Boolean stopService(Long driverId);

    //判断司机当日是否进行过人脸识别
    Boolean isFaceRecognition(Long driverId);
}
